<?php
/**
 *
 * @author Rodrigo Régis Palmeira <regisbsb@gmail.com>
 *
 */
namespace Foxforms\Widget;
class Label extends \Foxforms\Element
{
	protected $for;
	protected $content;

	public static function create($content)
	{
		return new self($content);
	}

	public function __construct($content)
	{
		$this->setContent($content);
		$this->addClass('control-label');
		return $this;
	}

	public function setContent($content)
	{
		$this->content	= $content;
		return $this;
	}

	public function setFor($for)
	{
		$this->for	= $for;
		return $this;
	}
}